/**
 * Copyright (c) 2016 Lenovo Group
 * All Rights Reserved.
 * 
 * Project Name:lmrp-api
 * Create Time: 2016年1月27日 下午2:41:07
 */
package com.lenovo.lmrp.api.model.entity;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @author wujin
 * @version v1.0
 */
@Entity
@Table(name = "lmrp_metadata_entity")
public class EntityMetadataPO {
    @Id
    @Column(name="entityid")
    private String id;
    
    @Column
    private String itsmcode;
    
    @Column
    private String logicalName;
    
    @Column
    private String physicalName;
    
    @Column
    private String mappedName;
    
    @Column
    private String params;

    @Transient
    private List<FieldMetadataPO> fieldMetadataList;
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getItsmcode() {
        return itsmcode;
    }

    public void setItsmcode(String itsmcode) {
        this.itsmcode = itsmcode;
    }

    public String getLogicalName() {
        return logicalName;
    }

    public void setLogicalName(String logicalName) {
        this.logicalName = logicalName;
    }

    public String getPhysicalName() {
        return physicalName;
    }

    public void setPhysicalName(String physicalName) {
        this.physicalName = physicalName;
    }

    public String getMappedName() {
        return mappedName;
    }

    public void setMappedName(String mappedName) {
        this.mappedName = mappedName;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public List<FieldMetadataPO> getFieldMetadataList() {
        return fieldMetadataList;
    }

    public void setFieldMetadataList(List<FieldMetadataPO> fieldMetadataList) {
        this.fieldMetadataList = fieldMetadataList;
    }
}
